<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
    <title>仓库管理</title>

	<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
	<meta http-equiv="Cache-Control" content="no-cache" />
    <!--[if IE 9]>
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <![endif]-->
    <link rel="stylesheet" href="ui/global.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="ui/loginStyle.css" type="text/css" media="screen" />
	<link href="ui/login.css" type="text/css" rel="stylesheet" media="screen" />
    <script type="text/javascript" src="ui/jquery.js"></script>

	<script type="text/javascript">
	function login() {
		$('#Form1').submit();
	}

	$(function() {
		document.onkeydown = function(e){
		    var ev = document.all ? window.event : e;
		    if(ev.keyCode==13) {
		    	login();
		    }
		}
        <c:if test="${!empty error}">
            alert('<c:out value="${error}" />');
        </c:if>

	});
	</script>

</head>
<body class="login">
    <!--[if lt IE 7]>
    <link rel="stylesheet" href="ui/ie6.css" type="text/css" media="screen" />
    <![endif]-->
    <form name="Form1" action="<c:url value="loginCheck.html"/>" method="post" id="Form1">


    <div style="margin: 30px auto -55px; padding: 18px; width: 520px;">

    </div>

    <div id="panelErrorMsg">




</div>
    <div id="login">
	    <div id="cap-top"></div>
	    <div id="cap-body">
	    <div id="branding" class="clearfix">
            <img id="imgLogo" src="images/login/title.png" style="border-width:0px;height:132px;width:466px;float:left;" />

        </div>
            <div id="panelLogin">

			    <div>

				    <label>用户名:</label>
                        <input type="text" class="textbox340" name="userName" id="userName" value="" />
			    </div>
			    <div>
				    <label>密码:</label>
                        <input type="password" class="textbox340" name="password" id="password" value="" />

			    </div>

                <div class="submit clearfix" style="text-align:right;">
                    <a id="lbtnLogin" class="buttonLoginV2" href="javascript:login()">登录</a>
                </div>

</div>







	    </div>
	    <div id="cap-bottom"><img src="images/login/cap-bottom.png" alt="" /></div>
    </div><!-- END #login -->

    </form>

</body>
</html>

